<?php
class EntityController extends Zend_Controller_Action 
{
    
    
    
    public function indexAction()
    {
    }
    
    
    public function renderAction()
    {
        $app = Led_Application::getInstance();
         
        $obj = $app->getEdo()->fetch($this->_getParam('id'));
        

        Zend::loadClass('Led_Entity_Renderer');
        Zend::loadClass('Led_Entity_Collection');
        Zend::loadClass('Led_Entity_Collection_TreeDescriptor');
        
         
        
        
        
        $this->getResponse()->appendBody($renderer->render($obj, 'retail'));
               
        

    }
    
}